<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增业委会管理')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-owners-add">
            <div class="form-group">
                <div class="form-group">
                    <label class="col-sm-3 control-label is-required">id：</label>
                    <div class="col-sm-8">
                        <input name="ownersId" class="form-control" type="text" required>
                    </div>
                </div>
                <label class="col-sm-3 control-label is-required">小区：</label>
                <div class="col-sm-8">
<!--                    <input name="plotName" class="form-control" type="text" required>-->
                    <select name="plotName" class="form-control">
                        <option>请选择小区</option>
                        <option>锦绣春天</option>
                        <option>超远小区</option>
                        <option>文苑华庭</option>
                        <option>千喜同业</option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">业委会负责人姓名：</label>
                <div class="col-sm-8">
<!--                    <input name="ownersName" class="form-control" type="text" required>-->
                    <select name="ownersName" class="form-control">
                        <option>业委会负责人姓名</option>
                        <option>郭珊珊</option>
                        <option>高圆圆</option>
                        <option>小美</option>
                        <option>王斯柯</option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">业委会负责人职务：</label>
                <div class="col-sm-8">
                    <input name="ownersDuty" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">联系电话：</label>
                <div class="col-sm-8">
                    <input name="ownersPhone" class="form-control" type="text" required>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/owners"
        $("#form-owners-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-owners-add').serialize());
            }
        }

    </script>
</body>
</html>